package PVZ;
import javax.swing.*;

public class RepeaterBullet extends Senobject implements plantheight{
    protected int speed;
    private int planth;
    RepeaterBullet(int x,int y,int planth){
        super(24,24,x,y,1);
        this.planth=planth;
        speed=1;
    }

    public ImageIcon getImage(){
        return Images.PB00;
    }

    public void step(){
        x+=speed;
    }

    @Override
    public int getPlanth() {
        return planth;
    }
}
